package com.jedis;

import redis.clients.jedis.Jedis;

/**
 * @create 2022-03-2022/3/23-20:17
 */
public class Testping {
    public static void main(String[] args) {
        //jedis对象
      Jedis jedis =  new Jedis("121.41.29.241",6379);
      jedis.select(0);
      jedis.set("name","Hjq");
        System.out.println(jedis.ping());

    }
}
